package com.entity;

import lombok.*;

import java.util.Date;

@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Order {

    private Integer id;
    private Integer loginId;
    private String address;
    private Integer cost;
    private String createTime;
    private String serialNumber;

    public Order(Integer loginId, String address, Integer cost, String createTime, String serialNumber) {
        this.loginId = loginId;
        this.address = address;
        this.cost = cost;
        this.createTime = createTime;
        this.serialNumber = serialNumber;
    }
}
